home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 2
/
SPACE - Library 2 - Volume 1.iso
/
utility
/
252
/
dskpcsrc
/
calendar.def
< prev
next >
Wrap
Text File
|
1988-02-13
|
2KB
|
61 lines
DEFINITION MODULE Calendar;
(* This module defines procedures used for manipulating the *)
(* Calendar accessory. *)
PROCEDURE Initialize ();
(* Initialize the Calendar module. *)
PROCEDURE DayIsSaturday () : BOOLEAN;
(* Return TRUE if the current day is a Saturday, or FALSE *)
(* otherwise. *)
PROCEDURE DayIsSunday () : BOOLEAN;
(* Return TRUE if the current day is a Sunday, or FALSE *)
(* otherwise. *)
PROCEDURE OwnsWindow ( WindowId : INTEGER ) : BOOLEAN;
(* Return TRUE if the Calendar owns the window specified by *)
(* "WindowId", or FALSE otherwise. *)
PROCEDURE Open;
(* Open the Calendar. If the Calendar is already opened, *)
(* then top the window belonging to the Calendar. *)
PROCEDURE Close;
(* Close the Calendar window. *)
PROCEDURE ProcessMessageEvent ( VAR MsgBuffer : ARRAY OF INTEGER );
(* Process a message event not relating to a menu. *)
PROCEDURE ProcessButtonEvent ( MouseButton : INTEGER;
ModifierKey : INTEGER;
Clicks : INTEGER );
(* The mouse button has been pressed, so process the event. *)
PROCEDURE ProcessKeyboardEvent ( Key : INTEGER;
ModifierKey : INTEGER );
(* A key on the keyboard has been pressed, so process the event. *)
END Calendar.